package com.itchen.test;

import com.itchen.dao.BookDao;
import com.itchen.service.BookService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author げっしょく
 * @date 2021/9/10
 */
public class App {

    public static void main(String[] args) {
/*        ApplicationContext cext = new ClassPathXmlApplicationContext("applicationContext.xml");
        BookDao bookDao = (BookDao) cext.getBean("bookDao");

        System.out.println(bookDao);

        BookService bean = cext.getBean(BookService.class);
        System.out.println(bean);*/

    }
}
